bufix, used this instead of sort