Sortafine now compiles. Probably does not do what it actually should for all methods