(Broken) Sort caps