fit sorting