Removed extended sorting functionality from controller