bring the least recently used pattern to front of pattern list according as nice value of it