Removed sort function.