Get function modules importing. Added sort method.