I have a char buffer which contains intergers.I want to sort them.Do i need to convert this char buffer into interger.And is there any sorting function available in C or do i need to write my onw sorting code.If there is sorting function available then wat is it and how can i use it ?