Fix sort bug. params are now seperated by ~ and not :