Fixes shuffling extension methods part of st and js exports.

Classes are sorted in extension methods processing, but just by their name.