punchware / JIO-Library

Automatically exported from code.google.com/p/gravity-jio
4 stars 4 forks source link

Feature 1.2- Function: sorting #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1) What the feature does?
- Function to read a value in the 1 dimension array and sorting it based on the 
selected sorting option.
- Sorting option should consist:
  - Sorting based on letters (A-Z)
  - Sorting based small to huge numbers (0-9)

2) How the feature being implemented?
- Four compulsory input:
  - letter Flag
  - Number Flag 
  - Input Array
  - Output Array

3) Structure of this feature?
- sorting(letterFlag, numberFlag, inputArray, outputArray)
- Should have a try catch block.
- letter and number flag is numeric values, only one of them can be 1 in 
  one time.
- Input array is an array consist a values that we are going to sort.
- Output array are empty array where act as an output consist the sorted 
  input from the input array.
- System should throw exception if any of the input parameters is either 
  invalid or empty.

4) Weightage of importance (low/medium/high)
- Medium

Original issue reported on code.google.com by gravitydevelopment on 16 Oct 2013 at 3:07