updated S suffix sorting
working S suffix sorting
everything seems to be working