adding custom sorting option