In my application am trying to format and sort the date, i am using to_char() function to format the date to my required format, but when i sort them it is sorting
You don't say what your application is written in, but in some environments (e.g. Oracle APEX, Oracle Reports) the solution is to not use to_char in the query, but then to apply the desired formatting in the tool's "column properties" or similar.