GithubHelp home page GithubHelp logo

junjunsorting's Introduction

JunJunSorting

Sorting for Junjun

Input Data

GTNR STK EOL DATUM ID
10048 1107020017 6810 19-03-2020 07:28 58214
10049 1107020018 6811 19-03-2020 08:28 58215
10050 1107020019 6812 19-03-2020 09:28 58216
10051 1107020020 6813 19-03-2020 10:28 58217
10052 1107020021 6814 19-03-2020 11:28 58218
10053 1107020022 6815 19-03-2020 12:28 58219

Process Goal

The Process will try to sort the list basing on different keys in both ASC and DESC order.

MainEntry.java: the main entry of the process.

Product.java: Embed the attributes into an Object called "Product".

SortKey.java: contains the sorting keys and orders.

Output

Sorting by GTNR in ASC order

10048 1107020017 6810 19-03-2020 07:28 58214

10049 1107020018 6811 19-03-2020 08:28 58215

10050 1107020019 6812 19-03-2020 09:28 58216

10051 1107020020 6813 19-03-2020 10:28 58217

10052 1107020021 6814 19-03-2020 11:28 58218

10053 1107020022 6815 19-03-2020 12:28 58219

Sorting by GTNR in DESC order

10053 1107020022 6815 19-03-2020 12:28 58219

10052 1107020021 6814 19-03-2020 11:28 58218

10051 1107020020 6813 19-03-2020 10:28 58217

10050 1107020019 6812 19-03-2020 09:28 58216

10049 1107020018 6811 19-03-2020 08:28 58215

10048 1107020017 6810 19-03-2020 07:28 58214

Sorting by STK in ASC order

10048 1107020017 6810 19-03-2020 07:28 58214

10049 1107020018 6811 19-03-2020 08:28 58215

10050 1107020019 6812 19-03-2020 09:28 58216

10051 1107020020 6813 19-03-2020 10:28 58217

10052 1107020021 6814 19-03-2020 11:28 58218

10053 1107020022 6815 19-03-2020 12:28 58219

Sorting by STK in DESC order

10053 1107020022 6815 19-03-2020 12:28 58219

10052 1107020021 6814 19-03-2020 11:28 58218

10051 1107020020 6813 19-03-2020 10:28 58217

10050 1107020019 6812 19-03-2020 09:28 58216

10049 1107020018 6811 19-03-2020 08:28 58215

10048 1107020017 6810 19-03-2020 07:28 58214

Sorting by EOL in ASC order

10048 1107020017 6810 19-03-2020 07:28 58214

10049 1107020018 6811 19-03-2020 08:28 58215

10050 1107020019 6812 19-03-2020 09:28 58216

10051 1107020020 6813 19-03-2020 10:28 58217

10052 1107020021 6814 19-03-2020 11:28 58218

10053 1107020022 6815 19-03-2020 12:28 58219

Sorting by EOL in DESC order

10053 1107020022 6815 19-03-2020 12:28 58219

10052 1107020021 6814 19-03-2020 11:28 58218

10051 1107020020 6813 19-03-2020 10:28 58217

10050 1107020019 6812 19-03-2020 09:28 58216

10049 1107020018 6811 19-03-2020 08:28 58215

10048 1107020017 6810 19-03-2020 07:28 58214

Sorting by DATUM in ASC order

10048 1107020017 6810 19-03-2020 07:28 58214

10049 1107020018 6811 19-03-2020 08:28 58215

10050 1107020019 6812 19-03-2020 09:28 58216

10051 1107020020 6813 19-03-2020 10:28 58217

10052 1107020021 6814 19-03-2020 11:28 58218

10053 1107020022 6815 19-03-2020 12:28 58219

Sorting by DATUM in DESC order

10053 1107020022 6815 19-03-2020 12:28 58219

10052 1107020021 6814 19-03-2020 11:28 58218

10051 1107020020 6813 19-03-2020 10:28 58217

10050 1107020019 6812 19-03-2020 09:28 58216

10049 1107020018 6811 19-03-2020 08:28 58215

10048 1107020017 6810 19-03-2020 07:28 58214

Sorting by ID in ASC order

10048 1107020017 6810 19-03-2020 07:28 58214

10049 1107020018 6811 19-03-2020 08:28 58215

10050 1107020019 6812 19-03-2020 09:28 58216

10051 1107020020 6813 19-03-2020 10:28 58217

10052 1107020021 6814 19-03-2020 11:28 58218

10053 1107020022 6815 19-03-2020 12:28 58219

Sorting by ID in DESC order

10053 1107020022 6815 19-03-2020 12:28 58219

10052 1107020021 6814 19-03-2020 11:28 58218

10051 1107020020 6813 19-03-2020 10:28 58217

10050 1107020019 6812 19-03-2020 09:28 58216

10049 1107020018 6811 19-03-2020 08:28 58215

10048 1107020017 6810 19-03-2020 07:28 58214

junjunsorting's People

Contributors

zongzhec avatar

Stargazers

byte-jun avatar

Watchers

James Cloos avatar  avatar byte-jun avatar

Forkers

byte-jun

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.